home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / SecalDemo / Inc / exec / ports.inc < prev    next >
Text File  |  1998-06-24  |  390b  |  26 lines

  1. include "inc/exec/nodes.inc";
  2. include "inc/exec/lists.inc";
  3. include "inc/exec/tasks.inc";
  4.  
  5. struct MsgPort is
  6.   mp_Node:Node;
  7.   mp_Flags:ubyte;
  8.   mp_SigBit:ubyte;
  9.   mp_SigTask:ulong;
  10.   mp_MsgList:List;
  11. ;
  12.  
  13. def mp_SoftInt = mp_SigTask;
  14.  
  15. def PF_ACTION = 3;
  16. def PA_SIGNAL = 0;
  17. def PA_SOFTINT = 1;
  18. def PA_IGNORE = 2;
  19.  
  20. struct Message is
  21.   mn_Node:Node;
  22.   mn_ReplyPort:ulong;
  23.   mn_Length:uword;
  24. ;
  25.  
  26.